package com.ddh.bankmanager.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
@Api(tags = "健康检查")
public class HelloController {

    @ApiOperation("检查接口")
    @GetMapping
    public String hello(){
        return "hello";
    }
}
